<?php

require_once "core/initialize.php";
require_once "includes/header.php";

$user = new User();

if ($user->isLoggedIn()) { ?>
	
	<div class="section clearing">
		<div class="column div_1_of_4">
			Recipes Category
		</div>
		<div class="column div_3_of_4">
			<?php require_once "includes/recipes-components.php";?>	
		</div>
	</div>

<?php } else {
	Redirect::to('index.php');
}
require_once "includes/footer.php";
?>